home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
database
/
dutch_fn
/
sumarr.c
< prev
next >
Wrap
Text File
|
1988-06-23
|
395b
|
24 lines
#include "jplib.h"
CLIPPER sumarr()
{
if (ISARRAY(1) && ISARRAY(2))
{
quant i;
quant alength;
alength = (quant) min(ALENGTH(1), ALENGTH(2));
for (i=1; i <= alength; i++)
{
if (_parinfa(1, i) == _parinfa(2, i) == NUMERIC)
_retnd(1, _parnd(1, i) + _parnd(2, i));
}
}
else
_ret();
return;
}